<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><!-- #BeginTemplate "/Templates/class.dwt" -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>WIKINDX CLASS DOCUMENTATION</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX CLASSES</h2>
<h3><!-- #BeginEditable "className" -->
SYSTEMCHECK
<!-- #EndEditable -->
</h3>
<p><strong>Class Call:</strong><br />
  <!-- #BeginEditable "classCall" -->
 include_once(&quot;core/init/SYSTEMCHECK.php&quot;);<br />
 new SYSTEMCHECK(DATABASE OBJECT: $db, ASSOC_ARRAY: $vars);
 <!-- #EndEditable -->
 </p><strong>Description:</strong><br />
  <!-- #BeginEditable "classDescription" -->
$db is the database object created in index.php and $vars is an associative array of user input also obtained in 
index.php.
<p>Creating a new SYSTEMCHECK object in index.php runs some system checks on WIKINDX:<br />
1/ If database has been newly created (outside WIKINDX), check it has 
appropriate tables and, if not, populate the database with tables using 
update/createMySQL.txt and inititialize WKX_database_summary and WKX_group.<br />
2/ Check database version agrees with <a href="../init/dbversionMethod.html">dbVersion()</a>.  If not, run database 
update script update/updateMySQL.txt.<br />
3/ If the WKX_config table has not yet been populated, present the user 
(hopefully admin) with admin configuration.<br />
4/ Write some default variables from WKX_config to the session.</p>
<!-- #EndEditable-->
<p><strong>Methods:</strong><br />
<!-- #BeginEditable "methodList" -->
There are no public methods.
<!-- #EndEditable -->
  </p>
<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>
<!-- #EndTemplate --></html>
